#include <Python.h>
#include <shared_mutex>
#include "pydatavec.h"
class cpucheck {
public:
	cpucheck(unsigned long long cpusizemax,unsigned long long gpusizemax,PyObject* model,PyObject* lossfunc,PyObject* backwardfunc);
	void traindataput(PyObject*);
	void testdataput(PyObject*);
private:
	std::shared_mutex modellock;
	pydatavec cpuvec;
	PyObject* model;
	PyObject*  
};